package test0103.test01;

public class Employee {
    int id;
    String name;
    String gender; // 添加性别属性
    String birthDate; // 添加出生日期属性
    String education; // 添加学历属性
    Position position; // 添加 Position 属性

    public Employee() {
    }

    public Employee(int id, String name, String gender, String birthDate, String education, Position position) {
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.birthDate = birthDate;
        this.education = education;
        this.position = position;
    }

    public Employee(int i, String 张三, String 男) {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(String birthDate) {
        this.birthDate = birthDate;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public Position getPosition() {
        return position;
    }

    public void setPosition(Position position) {
        this.position = position;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", birthDate='" + birthDate + '\'' +
                ", education='" + education + '\'' +
                ", position=" + position +
                '}';
    }
}
